-- GENERATED SPELL FOR [Kaw the Mammoth Destroyer] --


function spell0_25802(pUnit, Event) --@Drop War Halberd,n/a--
pUnit:FullCastSpellOnTarget(46310,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25802', 636, 1)
end

function Sorts_25802(pUnit, Event)
local choix_sorts_25802 = math.random(0, 0)
if choix_sorts_25802 == 0 then
pUnit:RegisterEvent('spell0_25802', 1, 1)
end
end

function mob25802_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25802', math.random(1500, 3000), 1)
end

function mob25802_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25802_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25802_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25802, 1, 'mob25802_Action')
RegisterUnitEvent(25802, 2, 'mob25802_Leave')
RegisterUnitEvent(25802, 3, 'mob25802_Kill')
RegisterUnitEvent(25802, 4, 'mob25802_Die')
